package com.example.sxt_practise.GOF23.composite.filekillvirus;

/**
 * @author gaofeng
 * @date 2022年05月23日 21:23
 */
public class ImageFile implements AbstractFile{

    private final String fileName ;

    public ImageFile(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public void killVirus() {
        System.out.println("image文件" + fileName + "正在进行病毒查杀!");
    }
}
